package com.itita.ww2.handler.requesthandler.user;

import com.smartfoxserver.v2.annotations.MultiHandler;
import com.itita.ww2.core.AbstractClientRequestHandler;

@MultiHandler
public class UserHandler extends AbstractClientRequestHandler {
	public static final String COMMAND_PREFIX = "user";

	@Override
	protected void init() {
		addClientRequestItem("enterarea", EnterArea.class); // 玩家进入某区域
		addClientRequestItem("fatiguerestore", FatigueRestore.class); // 疲劳回复
		addClientRequestItem("get_mcard_info", GetMonthlyCardInfo.class); // 获取月卡信息
		addClientRequestItem("claim_mcard_rewards", ClaimMonthCardRewards.class); // 获取月卡收益
	}

	@Override
	protected void setCommandPrefix() {
		super.cmd_prefix = COMMAND_PREFIX;
	}

}
